package com.ln.asset.core.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * @ClassName Om
 * @Author LiHaoHao
 * @Date 2022/4/28 15:47
 * Version 1.0
 **/
@Data
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "InsAdd对象", description = "申购固定资产用品展示表")
public class Om {

    @ApiModelProperty(value = "中间表编号")
    @TableId(type = IdType.AUTO)
    private String omid;

    @ApiModelProperty(value = "申购编号")
    private String suid;

    @ApiModelProperty(value = "申购单号")
    private String susubid;

    @ApiModelProperty(value = "申购时间")
    private LocalDateTime sucreateTime;

    @ApiModelProperty(value = "所属仓库")
    private String name;

    @ApiModelProperty(value = "临时编号")
    private Integer adid;
    @ApiModelProperty(value = "用品名称")
    private String aname;

    @ApiModelProperty(value = "数量")
    private Integer asum;

    @ApiModelProperty(value = "单位")
    private String aunit;

    @ApiModelProperty(value = "总价")
    private Integer amoney;

    @ApiModelProperty(value = "备注")
    private String aremark;

    @ApiModelProperty(value = "用户名称")
    private String uname;

    @ApiModelProperty(value = "部门名称")
    private String sename;

    @ApiModelProperty(value = "审批状态")
    private Integer sustart;

    @ApiModelProperty(value = "采购状态")
    private Integer supustart;

    @ApiModelProperty(value = "检验状态")
    private Integer sucheckout;

    @ApiModelProperty(value = "入库状态")
    private Integer subank;

    @JsonFormat(pattern="yyyy-MM-dd hh:mm:ss")
    @ApiModelProperty(value = "审批完成时间")
    private LocalDateTime suexamine;

    @JsonFormat(pattern="yyyy-MM-dd hh:mm:ss")
    @ApiModelProperty(value = "采购完成时间")
    private LocalDateTime supur;

    @JsonFormat(pattern="yyyy-MM-dd hh:mm:ss")
    @ApiModelProperty(value = "入库完成时间")
    private LocalDateTime sulib;
}
